package com.carlosk.kandicar.domain.ui;

import java.util.ArrayList;

import com.carlosk.kandicar.domain.BaseDomain;

/**
 * 通用的查询条件的ViewModel
 * 
 * @author carlos carlosk@163.com
 * @version 创建时间：2014年5月1日 下午4:45:54
 */

public class CommonConditionDomain extends BaseDomain {
	public static final int Common_Type = 0;
	public static final int List_Type = 1;
	private int title1ResId;// 标题1的资源id
	private int title2ResId;// 标题2的资源id
	private String content1;// 内容1
	private String content2;// 内容2
	private String startDate;// 开始时间
	private String endDate;// 结束时间
	private int type  = Common_Type;//类型,1是弹出列表
	private ArrayList<CommonConditionItemDomain> commonConditionItemDomainList;
	private int seletedConditionItemIndex;// 所选中的条件列表的索引

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public ArrayList<CommonConditionItemDomain> getCommonConditionItemDomainList() {
		return commonConditionItemDomainList;
	}

	public void setCommonConditionItemDomainList(
			ArrayList<CommonConditionItemDomain> commonConditionItemDomainList) {
		this.commonConditionItemDomainList = commonConditionItemDomainList;
	}

	public int getSeletedConditionItemIndex() {
		return seletedConditionItemIndex;
	}

	public void setSeletedConditionItemIndex(int seletedConditionItemIndex) {
		this.seletedConditionItemIndex = seletedConditionItemIndex;
	}

	public int getTitle1ResId() {
		return title1ResId;
	}

	public void setTitle1ResId(int title1ResId) {
		this.title1ResId = title1ResId;
	}

	public int getTitle2ResId() {
		return title2ResId;
	}

	public void setTitle2ResId(int title2ResId) {
		this.title2ResId = title2ResId;
	}

	public String getContent1() {
		return content1;
	}

	public void setContent1(String content1) {
		this.content1 = content1;
	}

	public String getContent2() {
		return content2;
	}

	public void setContent2(String content2) {
		this.content2 = content2;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

}
